package edu.dayu.service;

public interface JobService {
    boolean addJob(String jobClassName,String jobGroupName,String cronExpress);

    // 暂停任务
    boolean pauseJob(String jobClassName,String jobGroupName);

    // 继续任务
    boolean resumeJob(String jobClassName, String jobGroupName);

    // 更新任务
    boolean rescheduleJob(String jobClassName, String jobGroupName, String cronExpression);

    boolean deleteJob(String jobClassName, String jobGroupName);
}
